package com.tm.enums;

/**
 * @author huangp
 * @create 2023-03-01 12:27
 */
public enum StatusCodeEnum {

    SUCCESS(2000,"操作成功！"),
    ERROR(5000,"操作失败"),
    ADD_APPLY_INFO(5010,"新增应聘人员基本信息失败了！"),
    ADD_APPLY_JOB_INFO(5010,"新增工作经历信息失败了！"),
    ADD_APPLY_TRAIN_INFO(5010,"新增教育经历信息失败了！"),
    ADD_APPLY_PEI_INFO(5010,"新增培训经历信息失败了！");


    private Integer code;

    private String message;

    StatusCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
